package indi.liudalei.trello.controller;

import indi.liudalei.trello.model.Card;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.servlet.ModelAndView;

import java.util.List;

/**
 * Created by 刘大磊 on 2017/11/19.
 */
@Controller
public class TrelloReportController {
    @RequestMapping("/exportHtml")
    public ModelAndView exportHtml(@RequestBody List<Card> cardList)
    {
        return new ModelAndView("exportHtml");
    }
}
